<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>AndBase开发框架: com.ab.view.sliding.AbSlidingPageView类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">AndBase开发框架
   &#160;<span id="projectnumber">1.6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab.html">ab</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1view.html">view</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1view_1_1sliding.html">sliding</a></li><li class="navelem"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html">AbSlidingPageView</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.ab.view.sliding.AbSlidingPageView类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.ab.view.sliding.AbSlidingPageView 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.png" usemap="#com.ab.view.sliding.AbSlidingPageView_map" alt=""/>
  <map id="com.ab.view.sliding.AbSlidingPageView_map" name="com.ab.view.sliding.AbSlidingPageView_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5728b93811eb6ce0af7e7d4b8e83c47d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a5728b93811eb6ce0af7e7d4b8e83c47d">AbSlidingPageView</a> (Context context)</td></tr>
<tr class="separator:a5728b93811eb6ce0af7e7d4b8e83c47d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a401a749c2baecf108bda0040b0545e3b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a401a749c2baecf108bda0040b0545e3b">AbSlidingPageView</a> (Context context, AttributeSet attrs)</td></tr>
<tr class="separator:a401a749c2baecf108bda0040b0545e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44b20d77c51baffb324a0ec1e6de106d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a44b20d77c51baffb324a0ec1e6de106d">showNext</a> ()</td></tr>
<tr class="separator:a44b20d77c51baffb324a0ec1e6de106d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a8159f354ff08f1972ec2e3b4bc55da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a3a8159f354ff08f1972ec2e3b4bc55da">showPrevious</a> ()</td></tr>
<tr class="separator:a3a8159f354ff08f1972ec2e3b4bc55da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa275a018c529d7f2eb8c7550129e0120"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#aa275a018c529d7f2eb8c7550129e0120">computeScroll</a> ()</td></tr>
<tr class="separator:aa275a018c529d7f2eb8c7550129e0120"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7391ba4fe0d0382d7e649a9dcf0d710d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a7391ba4fe0d0382d7e649a9dcf0d710d">getScreenState</a> ()</td></tr>
<tr class="separator:a7391ba4fe0d0382d7e649a9dcf0d710d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3446887f47c167f85c1aae945d75b1ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a3446887f47c167f85c1aae945d75b1ca">addContentView</a> (View view)</td></tr>
<tr class="separator:a3446887f47c167f85c1aae945d75b1ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a609b25cffb976aa23a0c1abf86b44e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a4a609b25cffb976aa23a0c1abf86b44e">addNextView</a> (View view)</td></tr>
<tr class="separator:a4a609b25cffb976aa23a0c1abf86b44e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ba1c151efa0bf205de9be57bb6cf9f7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a3ba1c151efa0bf205de9be57bb6cf9f7">getNextViewOffset</a> ()</td></tr>
<tr class="separator:a3ba1c151efa0bf205de9be57bb6cf9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae2cad6d9c104bb93aaaa3d2ebecd421"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#aae2cad6d9c104bb93aaaa3d2ebecd421">setNextViewOffset</a> (int <a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a8e135ac6cc142b04bb6f1cf006c2d408">nextViewOffset</a>)</td></tr>
<tr class="separator:aae2cad6d9c104bb93aaaa3d2ebecd421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04190f4a5f36fc40abec351861d0d9aa"><td class="memItemLeft" align="right" valign="top">OnPageChangeListener&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a04190f4a5f36fc40abec351861d0d9aa">getOnPageChangeListener</a> ()</td></tr>
<tr class="separator:a04190f4a5f36fc40abec351861d0d9aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6712139a25879ae56579f86e89ea5dfa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a6712139a25879ae56579f86e89ea5dfa">setOnPageChangeListener</a> (OnPageChangeListener <a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#ac331b9e2d6b7a1de9da9c9a5c1dc9864">onPageChangeListener</a>)</td></tr>
<tr class="separator:a6712139a25879ae56579f86e89ea5dfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:a30c7469c1fe1303cc540eefd636ef878"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a30c7469c1fe1303cc540eefd636ef878">SCREEN_STATE_NEXT</a> = 0</td></tr>
<tr class="separator:a30c7469c1fe1303cc540eefd636ef878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb281a901ad9d3536ac62d969ea75f7"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#adbb281a901ad9d3536ac62d969ea75f7">SCREEN_STATE_PROVIOUS</a> = 1</td></tr>
<tr class="separator:adbb281a901ad9d3536ac62d969ea75f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a12fc1ae67b74cef6ec357618a8bda42b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a12fc1ae67b74cef6ec357618a8bda42b">onLayout</a> (boolean changed, int l, int t, int r, int b)</td></tr>
<tr class="separator:a12fc1ae67b74cef6ec357618a8bda42b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4473af0df451ff5c844a03183f183ea9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a4473af0df451ff5c844a03183f183ea9">onMeasure</a> (int widthMeasureSpec, int heightMeasureSpec)</td></tr>
<tr class="separator:a4473af0df451ff5c844a03183f183ea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a1ba0f25885fe1fa3be7e41f0b07dff39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a1ba0f25885fe1fa3be7e41f0b07dff39">obtainVelocityTracker</a> (MotionEvent event)</td></tr>
<tr class="separator:a1ba0f25885fe1fa3be7e41f0b07dff39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e2daca18da1d1181180525f917b3782"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a2e2daca18da1d1181180525f917b3782">releaseVelocityTracker</a> ()</td></tr>
<tr class="separator:a2e2daca18da1d1181180525f917b3782"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ab01109b8a321b68c29f8afa535bdb810"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#ab01109b8a321b68c29f8afa535bdb810">TAG</a> = AbSlidingPageView.class.getSimpleName()</td></tr>
<tr class="separator:ab01109b8a321b68c29f8afa535bdb810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c1b4091016aed9f99cb6931dfdd350d"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a1c1b4091016aed9f99cb6931dfdd350d">D</a> = true</td></tr>
<tr class="separator:a1c1b4091016aed9f99cb6931dfdd350d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55a70bfecc4e7d533c2b7849fdca87f9"><td class="memItemLeft" align="right" valign="top">Scroller&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a55a70bfecc4e7d533c2b7849fdca87f9">mScroller</a></td></tr>
<tr class="separator:a55a70bfecc4e7d533c2b7849fdca87f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5316204d9526748ec3a48b6acd22df8e"><td class="memItemLeft" align="right" valign="top">VelocityTracker&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a5316204d9526748ec3a48b6acd22df8e">mVelocityTracker</a></td></tr>
<tr class="separator:a5316204d9526748ec3a48b6acd22df8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf3e9ab2ec8ef4ca079fbb3cfd20fd61"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#acf3e9ab2ec8ef4ca079fbb3cfd20fd61">mScreenState</a> = <a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#adbb281a901ad9d3536ac62d969ea75f7">SCREEN_STATE_PROVIOUS</a></td></tr>
<tr class="separator:acf3e9ab2ec8ef4ca079fbb3cfd20fd61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e135ac6cc142b04bb6f1cf006c2d408"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a8e135ac6cc142b04bb6f1cf006c2d408">nextViewOffset</a> = 50</td></tr>
<tr class="separator:a8e135ac6cc142b04bb6f1cf006c2d408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac331b9e2d6b7a1de9da9c9a5c1dc9864"><td class="memItemLeft" align="right" valign="top">OnPageChangeListener&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#ac331b9e2d6b7a1de9da9c9a5c1dc9864">onPageChangeListener</a> = null</td></tr>
<tr class="separator:ac331b9e2d6b7a1de9da9c9a5c1dc9864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e3209ded31409f64bbb89980861d3df"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#a4e3209ded31409f64bbb89980861d3df">finish</a> = true</td></tr>
<tr class="separator:a4e3209ded31409f64bbb89980861d3df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>© 2012 amsoft.cn 名称：AbSlidingPageView.java 描述：页面滚动切换,实现焦点触发和Touch，适用于电视开发.</p>
<dl class="section author"><dt>作者</dt><dd>还如一梦中 </dd></dl>
<dl class="section version"><dt>版本</dt><dd>v1.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>：2013-05-17 下午6:46:29 </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a5728b93811eb6ce0af7e7d4b8e83c47d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.view.sliding.AbSlidingPageView.AbSlidingPageView </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>构造. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>the context </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a401a749c2baecf108bda0040b0545e3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.view.sliding.AbSlidingPageView.AbSlidingPageView </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AttributeSet&#160;</td>
          <td class="paramname"><em>attrs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>构造. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>the context </td></tr>
    <tr><td class="paramname">attrs</td><td>the attrs </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a3446887f47c167f85c1aae945d75b1ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.addContentView </td>
          <td>(</td>
          <td class="paramtype">View&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置主View.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">view</td><td>the view </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4a609b25cffb976aa23a0c1abf86b44e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.addNextView </td>
          <td>(</td>
          <td class="paramtype">View&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置下一个View.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">view</td><td>the view </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa275a018c529d7f2eb8c7550129e0120"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.computeScroll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：滚动. </p><dl class="section see"><dt>参见</dt><dd>android.view.View::computeScroll() </dd></dl>

</div>
</div>
<a class="anchor" id="a3ba1c151efa0bf205de9be57bb6cf9f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.sliding.AbSlidingPageView.getNextViewOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gets the next view offset.</p>
<dl class="section return"><dt>返回</dt><dd>the next view offset </dd></dl>

</div>
</div>
<a class="anchor" id="a04190f4a5f36fc40abec351861d0d9aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">OnPageChangeListener com.ab.view.sliding.AbSlidingPageView.getOnPageChangeListener </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gets the on page change listener.</p>
<dl class="section return"><dt>返回</dt><dd>the on page change listener </dd></dl>

</div>
</div>
<a class="anchor" id="a7391ba4fe0d0382d7e649a9dcf0d710d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.sliding.AbSlidingPageView.getScreenState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取当前状态. </p><dl class="section return"><dt>返回</dt><dd>the screen state </dd></dl>

</div>
</div>
<a class="anchor" id="a1ba0f25885fe1fa3be7e41f0b07dff39"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.obtainVelocityTracker </td>
          <td>(</td>
          <td class="paramtype">MotionEvent&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>初始化速度检测. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>the event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a12fc1ae67b74cef6ec357618a8bda42b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.onLayout </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>changed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：View的位置设定.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">changed</td><td>the changed </td></tr>
    <tr><td class="paramname">l</td><td>the l </td></tr>
    <tr><td class="paramname">t</td><td>the t </td></tr>
    <tr><td class="paramname">r</td><td>the r </td></tr>
    <tr><td class="paramname">b</td><td>the b </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4473af0df451ff5c844a03183f183ea9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.onMeasure </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>widthMeasureSpec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>heightMeasureSpec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：测量View的宽高. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widthMeasureSpec</td><td>the width measure spec </td></tr>
    <tr><td class="paramname">heightMeasureSpec</td><td>the height measure spec </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>参见</dt><dd>android.view.View::onMeasure(int, int) </dd></dl>

</div>
</div>
<a class="anchor" id="a2e2daca18da1d1181180525f917b3782"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.releaseVelocityTracker </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>释放速度检测. </p>

</div>
</div>
<a class="anchor" id="aae2cad6d9c104bb93aaaa3d2ebecd421"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.setNextViewOffset </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nextViewOffset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置遮挡距离.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nextViewOffset</td><td>the new next view offset </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6712139a25879ae56579f86e89ea5dfa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.setOnPageChangeListener </td>
          <td>(</td>
          <td class="paramtype">OnPageChangeListener&#160;</td>
          <td class="paramname"><em>onPageChangeListener</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置页面改变监听器.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">onPageChangeListener</td><td>the new on page change listener </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a44b20d77c51baffb324a0ec1e6de106d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.showNext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>打开下一个View. </p>

</div>
</div>
<a class="anchor" id="a3a8159f354ff08f1972ec2e3b4bc55da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.sliding.AbSlidingPageView.showPrevious </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>返回上一个View. </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="a1c1b4091016aed9f99cb6931dfdd350d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.ab.view.sliding.AbSlidingPageView.D = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>记录日志的开关. </p>

</div>
</div>
<a class="anchor" id="a4e3209ded31409f64bbb89980861d3df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.ab.view.sliding.AbSlidingPageView.finish = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>目标滚动是否完成. </p>

</div>
</div>
<a class="anchor" id="acf3e9ab2ec8ef4ca079fbb3cfd20fd61"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.sliding.AbSlidingPageView.mScreenState = <a class="el" href="classcom_1_1ab_1_1view_1_1sliding_1_1_ab_sliding_page_view.html#adbb281a901ad9d3536ac62d969ea75f7">SCREEN_STATE_PROVIOUS</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>当前屏幕状态. </p>

</div>
</div>
<a class="anchor" id="a55a70bfecc4e7d533c2b7849fdca87f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Scroller com.ab.view.sliding.AbSlidingPageView.mScroller</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>滚动器. </p>

</div>
</div>
<a class="anchor" id="a5316204d9526748ec3a48b6acd22df8e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">VelocityTracker com.ab.view.sliding.AbSlidingPageView.mVelocityTracker</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>速度. </p>

</div>
</div>
<a class="anchor" id="a8e135ac6cc142b04bb6f1cf006c2d408"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.sliding.AbSlidingPageView.nextViewOffset = 50</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>下一个View的偏移. </p>

</div>
</div>
<a class="anchor" id="ac331b9e2d6b7a1de9da9c9a5c1dc9864"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">OnPageChangeListener com.ab.view.sliding.AbSlidingPageView.onPageChangeListener = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>页面切换监听器. </p>

</div>
</div>
<a class="anchor" id="a30c7469c1fe1303cc540eefd636ef878"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.ab.view.sliding.AbSlidingPageView.SCREEN_STATE_NEXT = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>显示的下一个View. </p>

</div>
</div>
<a class="anchor" id="adbb281a901ad9d3536ac62d969ea75f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.ab.view.sliding.AbSlidingPageView.SCREEN_STATE_PROVIOUS = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>显示的前一个View. </p>

</div>
</div>
<a class="anchor" id="ab01109b8a321b68c29f8afa535bdb810"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.ab.view.sliding.AbSlidingPageView.TAG = AbSlidingPageView.class.getSimpleName()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>记录日志的标记. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/com/ab/view/sliding/<a class="el" href="_ab_sliding_page_view_8java.html">AbSlidingPageView.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 十一月 6日 星期四 11:22:04 , 为 AndBase开发框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
